package org.jxht.dao;

import org.jxht.dto.entity.ResponseCourseEntity;
import org.jxht.dto.AdminDto;
import org.jxht.dto.CourseDto;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * Created by huang on 2017/3/1 0001.
 */
@Repository
public interface CourseDao {

    public void insertCourseDao(CourseDto dto);

    public List queryCourseDao(CourseDto dto);

    public void updataCourseDao(CourseDto dto);

    public void deleteCourseDao(CourseDto dto);

//    获取课程详细信息
    public List queryCourse(ResponseCourseEntity entity);

//    控制选修课程开启
    public void updataElectiveCourse(AdminDto dto);

//    查询选修课程是否开启
    public AdminDto queryaElectiveCourse();

}
